package com.xxl.job.executor.common.util;


public class ConfigProperties {

    private String timePoint;
    private String areaNo;
    private String dataDays;
    private String squadDays;
    private String qfUrl;
    private String qfInterface;
    private String qfAuthCode;
    private String qfFilePath;
    private String qfReqType;

    public String getTimePoint() {
        return timePoint;
    }

    public void setTimePoint(String timePoint) {
        this.timePoint = timePoint;
    }

    public String getAreaNo() {
        return areaNo;
    }

    public void setAreaNo(String areaNo) {
        this.areaNo = areaNo;
    }

    public String getDataDays() {
        if (dataDays == null || dataDays.isEmpty()) {
            dataDays = "7";
        }
        return dataDays;
    }

    public void setDataDays(String dataDays) {
        this.dataDays = dataDays;
    }

    public String getSquadDays() {
        if (squadDays == null || squadDays.isEmpty()) {
            squadDays = "13";
        }
        return squadDays;
    }

    public void setSquadDays(String squadDays) {
        this.squadDays = squadDays;
    }

    public String getQfUrl() {
        if (qfUrl == null || qfUrl.isEmpty()) {
            qfUrl = "http://10.14.0.233:9080";
        }
        return qfUrl;
    }

    public void setQfUrl(String qfUrl) {
        this.qfUrl = qfUrl;
    }

    public String getQfInterface() {
        if (qfInterface == null || qfInterface.isEmpty()) {
            qfInterface = "/riverstatic/v1/bin/api";
        }
        return qfInterface;
    }

    public void setQfInterface(String qfInterface) {
        this.qfInterface = qfInterface;
    }

    public String getQfAuthCode() {
        if (qfAuthCode == null || qfAuthCode.isEmpty()) {
            qfAuthCode = "140201_1402018c08";
        }
        return qfAuthCode;
    }

    public void setQfAuthCode(String qfAuthCode) {
        this.qfAuthCode = qfAuthCode;
    }

    public String getQfFilePath() {
        if (qfFilePath == null || qfFilePath.isEmpty()) {
            qfFilePath = "/usr/local/xxl-job/data/";
        }
        return qfFilePath;
    }

    public void setQfFilePath(String qfFilePath) {
        this.qfFilePath = qfFilePath;
    }

    public String getQfReqType() {
        if (qfReqType == null || qfReqType.isEmpty()) {
            qfReqType = "BASIC_TRADEQERUY";
        }
        return qfReqType;
    }

    public void setQfReqType(String qfReqType) {
        this.qfReqType = qfReqType;
    }
}
